SwedbankPay\Payments\WooCommerce\WC_Swedbank_Subscriptions A

Total Complexity 53
Dependencies 7
Dependents 0
Total lines 423
Lines of code 245
Logical lines of code 115
Comment lines 121
Methods 14
Properties 0

Methods 14

Method Rating Maintainability Complexity Lines of code
add_subscription_card_id()
A
48 7 32
validate_subscription_payment_meta()
S
54 7 20
scheduled_subscription_payment()
S
49 6 31
maybe_render_subscription_payment_method()
S
53 6 23
save_subscription_payment_meta()
S
58 6 15
save_new_payment_method_option_html()
S
56 5 17
wcs_cart_has_subscription()
S
61 5 12
payment_meta_input()
S
53 3 20
__construct()
S
46 1 48
get_payment_gateway()
S
68 2 7
wcs_is_payment_change()
S
75 2 4
add_subscription_payment_meta()
S
63 1 11
update_failing_payment_method()
S
89 1 2
delete_resubscribe_meta()
S
79 1 3